<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>活动查询结果</title>
<body th:style="'background-image:url(/images/绿色背景.jpg)'"></body>
</head>
<body>
<div style="
margin-left:auto;
margin-right:auto;
max-width: 500px;
background: #F8F8F8;
padding: 30px 30px 20px 30px;
font: 16px Arial, Helvetica, sans-serif;
color: 	Black;
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;">
<h1><p th:text="${team.name}+'的活动'" style="color: #57AA2C"></p></h1>
    <hr><br>
<table width=100%>
    <tr>
        <th>活动ID</th>
        <th>活动路线</th>
        <th>活动时间</th>
        <th>活动难度</th>
    </tr>
    <tr th:each="active:${activelist}">
        <!--一会儿把teamid去掉，顶多开头显示team的name-->
        <td th:text="${active.activeid}" align="center">1</td>
        <td th:text="${active.route}" align="center">2</td>
        <td th:text="${active.time}" align="center">3</td>
        <td th:text="${active.level}" align="center">3</td>
    </tr>
</table>

<form action="../member/login" method="post">
    <script th:inline="javascript">
        var str = [[${member.password}]];
        document.write('<input type="hidden" name="memberid" value="'+[[${member.memberid}]]+'" />');
        document.write('<input type="hidden" name="password" value="'+str+'" />');
    </script>
    <br>
    <hr>
    <br>
    <input type="submit" value="回到个人空间" />
</form>
<br>
<a href="/index.html"><button>登 出</button></a>
</div>
</body>
</html>